package com.qf.student.service;

import com.qf.student.entity.Student;

import java.util.List;

/**
 * 业务实现接口
 */
public interface IStudentService {

    public boolean save(Student student); //

    public boolean update(Student student); // 根据主键更新

    public boolean remove(Integer id);

    public Student getById(Integer id); // 根据主键查询

    public List<Student> list();

    public Student getByName(String name);
}
